﻿
namespace AccessWebCam.Web.Services
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;


    // TODO: Create methods containing your application logic.
    [EnableClientAccess()]
    public class CaptureDomainService : DomainService
    {
        [Invoke]
        public void SaveImage(int[] imageData)
        {
            // TODO: Save image data to file
            System.Windows.Forms.MessageBox.Show("Recieve Image " + imageData.Length);
        }
    }
}


